home *** CD-ROM | disk | FTP | other *** search
/ Hackers Underworld 2: Forbidden Knowledge / Hackers Underworld 2: Forbidden Knowledge.iso / PHREAK / UNIXDIAL.TXT < prev    next >
Text File  |  1994-07-17  |  4KB  |  106 lines

  1. Unauthorised Access UK  0636-708063  10pm-7am  12oo/24oo
  2.  
  3.                      HOW TO DIAL OUT ON A UNIX SYSTEM.
  4.                      ---------------------------------
  5.  
  6.  
  7.  This document makes the assumption that you are currently logged on to the
  8.  system and are sitting in a shell environment.
  9.  
  10.  
  11.  
  12.          1. First of all we need to locate the L-devices file.
  13.             It should be found in the /usr/lib/uucp directory,
  14.             but in case it isn't typing:
  15.  
  16.                        find / -name L-devices -print
  17.  
  18.             will show you where it is.
  19.  
  20.             If you can't find it then don't worry as we can get
  21.             around it, only it will take a bit of trial and error.
  22.  
  23.          2. If you found the L-devices file then we need to list
  24.             it by typing:
  25.  
  26.                        cat L-devices
  27.  
  28.             If it runs off the screen then type:
  29.  
  30.                        cat L-devices | more
  31.  
  32.             This will page the output - space displays the next
  33.             page and return will show the next line while q quits.
  34.  
  35.             This file shows us to which serial line (port) the
  36.             modems (ACU's) are connected, it also shows when they
  37.             can be called and the baud rate.
  38.             We are interested in the serial line and the baud rate.
  39.  
  40.             Choose a line with your desired speed and make a note of
  41.             the serial line. The speed is shown as 2400,1200,300 etc.
  42.             and the serial line as ttynn where nn is a number.
  43.  
  44.          3. If you couldn't find/list the L-devices file then type:
  45.  
  46.                        who am i
  47.  
  48.             This will show which serial line you are on, and as you
  49.             are on a modem then it's a fair bet that the others are
  50.             not too far away. e.g. If you are on line tty07 then
  51.             there's a good chance of a modem being on tty06,tty08 or
  52.             thereabouts.
  53.  
  54.          4. Now we need to make a direct connection to the modem by
  55.             typing:
  56.  
  57.                        cu -sbaud -l/dev/ttynn dir
  58.  
  59.             where baud and ttynn are your desired speed and serial
  60.             line respectively.
  61.  
  62.             If you couldn't find/list the L-devices file then this is
  63.             where the trial and error I told you about comes in.
  64.  
  65.             When you get it right it should come up with 'Connected'.
  66.  
  67.          5. Now we are talking directly to the modem. As a precaution
  68.             at this point I suggest saving the modem's current config
  69.             by typing:
  70.  
  71.                        AT&W
  72.  
  73.             Don't worry if you can't see what you are typing as it is
  74.             probably in quiet mode with echo off.
  75.  
  76.             Now restore the factory default settings by typing:
  77.  
  78.                        AT&F
  79.  
  80.             Now you can set up the modem as you require it, just as
  81.             you would with your own and use it as normal.
  82.  
  83.             When you have finished type:
  84.  
  85.                        ATZ
  86.  
  87.             to restore the modem back to it's initial state, then
  88.             type:
  89.  
  90.                        ~.
  91.  
  92.             It should come up 'Disconnected' and you should now be
  93.             back in your shell.
  94.  
  95.                        -------------------------------
  96.  
  97.  It is probably best to try and log on to a RACE system on an 0800 number
  98.  as then it won't cost you a penny to call your favourite BBS's.
  99.  
  100.  If you have any problems or need any UNIX information then send mail to
  101.  me on HackerNet and I'll see what I can do for you.
  102.  
  103.  Wishing you all many, many, happy hours of hacking - THE ANALYST.
  104.  
  105. Downloaded From P-80 International Information Systems 304-744-2253
  106.